import express from 'express'
import authController from '@/controllers/authController'

const router = express.Router()

/**
 * 用户注册
 * POST /auth/sign_up
 */
router.post('/sign_up', authController.signUp)

/**
 * 用户登录
 * GET /auth/sign_in
 */
router.post('/sign_in', authController.signIn)

export default router
